package com.lczc.soa.service;

import com.lczc.soa.domain.Question;
import com.lczc.soa.domain.SearchQuestionResponse;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface QuestionService {
    int savaQuestion(Question question);
    SearchQuestionResponse findAllQuestion(Integer pageNum, Integer pageSize);
    Question findQuestionByPrimaryKey(String id);



    SearchQuestionResponse findQuestionLikeName(String keywords, Integer pageNum, Integer pageSize);


    List<Question> listQuestion();
}
